<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template index/header}
<div class="subnav" style="margin-bottom:20px;">
    <a href="">首页</a> &gt; <a href="">客户管理</a> &gt; <a href="">会员列表</a>
</div>
<div class="main-inner">
    <div class="x-body">
    	<form name="searchform" class="layui-form" action="?" method="get" >
            <div class="tablefilter">
            	<div class="tableFilterInput">
                    <em>会员账号</em><input type="text">
                </div>
            	<div class="tableFilterInput">
                    <em>上级代理</em><input type="text">
                </div>
                <em>排序</em>
                <div class="left margin-l10">
                    <select name="upuid">
    					<option value="0">全部</option>
    					<option value="0">余额递增</option>
    					<option value="0">余额递减</option>
    				</select>
                </div>
                <div class="tableFilterInput">
                    <em>开始时间</em><input type="text">
                </div>
                <div class="tableFilterInput">
                    <em>结束时间</em><input type="text">
                </div>
                <div class="tableButton">
                    <input type="submit" name="search" class="layui-btn" value="查询">
                </div>
            </div>
    	</form>
    </div>
    	
	<table class="layui-table">
		<thead>
			<tr>
				<th>会员账号</th>
				<th>用户类型</th>
				<th>等级</th>
				<th>上级</th>
				<th>会员余额</th>
				<th>新增日期</th>
				<th>返点</th>
				<th>取款次数</th>
				<th>会员状态</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody id="datalist">
			<tr>
				<td>koykoy</td>
				<td>2级代理</td>
				<td>测试组</td>
				<td>90cptest</td>
				<td>500000.00</td>
				<td>2018-03-30 15:13:48</td>
				<td>7.5-10.0</td>
				<td>5</td>
				<td>正常</td>
				<td></td>
				
			</tr>
		</tbody>
	</table>
	<div class="layui-clear">
		<div id="pages" class="layui-laypage right">{$multi}</div>		
	</div>
</div>
<script>
	function SetUserStatus(id,obj)
	{
		//var index = layer.msg('状态修改中',{icon: 16,time:false,shade:0.8});
		var flag = $(obj).val();
		$.get('{U($m."/".$c."/del")}&id=' + id + '&flag=' + flag,function(res){
			//layer.close(index);
			layer.msg('状态修改成功！');
		});
	}
</script>

{template index/footer}